Skip to content

Latest commit

 

History

History
115 lines (83 loc) · 3.44 KB

README.md

File metadata and controls

115 lines (83 loc) · 3.44 KB

idle-game-engine

Game engine for idle games like kittens game.

Code

Special Actions

  • Max an action (skip, create, buy)
  • Time skip until a game action is available
  • Create all the inputs for an action
  • Undo an action
  • Repeat an action
  • Hide actions and resources
  • Reset

Dev

Run tests and build:

$ go test ./... && go build

Run

Run interactive kittens game:

$ ./idle-game-engine

Use text UI or http://localhost:8080/.

Set starting resources:

$ ./idle-game-engine --resource_map='catnip:100,Catnip Field:1'

Watch kittens game solution:

$ ./idle-game-engine --auto

Faster solution:

./idle-game-engine --auto --auto_sleep_ms=100

General Ideas

  • shared web server
  • configurable game rules at runtime
  • competition of best solutions
    • least actions
    • least skipped time
  • competition of bots

Kittens

asciicast

Graph of features:

graph

Graph of unlocks:

graph

Nodes:

graph nodes

Edges:

graph edges

Missing features: