write an html5 game that uses localstorage called Factory Game. User has one button Add factory, which add a factory row in the factory list. The name of the factory is random from our object of factory names and product names and startT endT, intervalT, intervalValue forward or backward count by. Every factory row has a cute ascii art factory and the factory name a counter column and a results column, the counter starts and counts by the factory object generating a new results output every intervalT. results outputs for all factors are always the same they all say “You have created ${running value} ${product name}s. And then the factory stops. And the user can add a new factory. This is a mindless silly game for watching counter run. Also include a vault section that shows the user a history of everything the created. for now store their game on localstorage. try to write this game in AS FEW lines of code as possible. the factory object is the biggest single line of code. add a super cute intro screen to start game. think cute minimal fun retro. the counters are running when the browser is open but when the browser or view closes we need to capture the times and factory keys for any running factories so we can get the current time on subsequent page loads and calculate the difference and reload all factories with the new counter times and product results simulating them running the whole time. in order to fit all this into localhost we need to be able to convert it from a short format back into the game.

 

do something like:

 

index.html

game.js

factory.js

loaders.js

counters.js

ui.js

front.js

user.js

storage.js

style.css

 

remember this is a fun game we want to add design elements and game experience layouts. generate the bundled downloadable zip

 

Related posts:


Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *