Pick up a banana, and open the doors towards building a civilization.
A village simulator inspired by Kittens.
- Gather and create resources.
- Plan and manage buildings.
- Research new technologies.
- Recruit and manage monkeys.
Wanna try it? Click here to play!
This game is develop pure ES6 javascript for the game engine, and React for early visualizations. My goal is to practice Javascript, React and client-server architectures (soon). Ideally, this will become a great multiplayer game.
The game engine (a.k.a. cities
) is totally separated from the game play and storytelling. If you want to check how Monkeys' world is described, checkout the GameModule.js.
This is the current withlist, and what to expect soon:
- Better, original graphics.
- Mobile client.
- Server-side storage and logic.
- Async progress: Queuing actions (buildings, research, upgrades, etc).
- Collaboration between players: Commerce.
- Battles agains AI.
- Battles agains other players
- Monkeys get skills.
- Building get upgrades.
- Village organization.
- Centralize all interaction through the GameController, instead of calling methods directly from class instances.
- Better UI refreshment, based on events.
- Responsive design.
This game is develop pure ES6 javascript for the game engine, and React for early visualizations.
Check out the Source Code!
npm install
npm run gulp dev
to update the app script url in index.ejs, reversing the corresponding gulp production command
npm run dev
will run webpack dev server at localhost:8080
Run node index.js
to start the application server on localhost:5000
In order to run Unit Tests use:
npm test
or
npm run watch
or run coverage with:
npm run coverage
The following steps should be executed by the CI engine. Currently, they must be executed manually.
Run npm run gulp production
. This will change the following:
<script src="http://localhost:8080/app.js" charset="utf-8"></script>
<script src="/js/app.js" charset="utf-8"></script>
npm run postinsall