Commit Graph

8 Commits

Author SHA1 Message Date
Abhinav Sarkar 8631d00bcc Fixes boostfuel refill calculation. 2015-07-22 19:44:01 +05:30
Abhinav Sarkar 359f1b83c8 Some refactoring 2015-07-16 10:25:21 +05:30
Abhinav Sarkar 7ecb72ff04 Major refactoring to use Monads for the game engine.
Also adds support for boost change and refill.
2015-07-16 02:33:19 +05:30
Arun Raghavan f8bd50a51b engine: Accept (event, timestamp) pairs instead of (event, timeElapsed)
The timeElapsed code was incorrect, applying the event retrospectively
rather than for the future.
2015-07-15 18:40:55 +05:30
Abhinav Sarkar a2e6bca7b2 Changes move to take time elapsed into account. 2015-07-14 09:37:20 +05:30
Abhinav Sarkar 75a7c0ce70 Hlinted 2015-07-10 01:01:00 +05:30
Abhinav Sarkar 8b4f606469 Adds basic game step logic 2015-07-10 00:56:37 +05:30
Abhinav Sarkar e530f3aa68 Add a Game type
The game engine can now be filled in.
2015-07-08 20:41:37 +05:30