Commit Graph

1175 Commits

Author SHA1 Message Date
Brent Yorgey
b600b91f9e world lookup does not return a new world; ability to scroll the world display 2021-08-24 05:42:20 -05:00
Brent Yorgey
222ec82d2d draw centered view of the world 2021-08-23 22:11:38 -05:00
Brent Yorgey
53c18162bc infinite worlds, take 1 2021-08-23 22:04:22 -05:00
Brent Yorgey
95f6ac28d4 factor out remaining UI + app stuff 2021-08-23 16:52:40 -05:00
Brent Yorgey
f046b2b43c factor out more UI code 2021-08-23 16:39:56 -05:00
Brent Yorgey
dda0aafc93 factor out Swarm.Game.Resource 2021-08-23 16:30:41 -05:00
Brent Yorgey
65917c2ae4 split out Swarm.UI.Attr 2021-08-23 16:27:51 -05:00
Brent Yorgey
4efea30df2 factor out more code into separate modules 2021-08-23 16:24:54 -05:00
Brent Yorgey
319b36ace8 fix refactoring, split UIState out of GameState into top-level AppState 2021-08-23 16:13:25 -05:00
Brent Yorgey
9526392d26 WIP 2021-08-23 15:01:09 -05:00
Brent Yorgey
eb832d366c refactor: split out Swarm.AST 2021-08-23 13:31:57 -05:00
Brent Yorgey
4bb87983ec factor out handleREPLEvent 2021-08-23 13:18:08 -05:00
Brent Yorgey
20e55dcc7b clean up .cabal a bit 2021-08-23 13:17:46 -05:00
Brent Yorgey
83a99a2295 new name: swarm 2021-08-23 11:47:04 -05:00
Brent Yorgey
381a49e5d6 refactor and add REPL history 2021-08-23 11:44:25 -05:00
Brent Yorgey
79bbf4de76 add repeat command 2021-08-22 22:02:01 -05:00
Brent Yorgey
7ea09880bd clean up 2021-08-22 22:01:50 -05:00
Brent Yorgey
44897c6535 decrease delay between ticks 2021-08-22 22:01:38 -05:00
Brent Yorgey
f82b4cc071 build just takes a Command 2021-08-22 21:49:51 -05:00
Brent Yorgey
7fdccbbc14 add a bunch of stuff!
enhanced 'turn' command
blocks
build command
real-time syntax checking for REPL inputs
error message dialog for parse errors
2021-08-22 21:47:39 -05:00
Brent Yorgey
2f8e13eebe add focus ring for panels
Tab key cycles the focus.
Also clean up a few warnings.
2021-08-22 14:20:04 -05:00
Brent Yorgey
7c0a2bfd75 test with larger, randomly generated world 2021-08-22 08:08:09 -05:00
Brent Yorgey
0c73122d2a tweaks 2021-08-22 06:48:23 -05:00
Brent Yorgey
81fe71f3bb draw interface with three full-size panels, and improve visuals 2021-08-22 06:36:56 -05:00
Brent Yorgey
479b10e986 initial exploration 2021-08-21 18:18:07 -05:00