-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
flober
committed
Aug 1, 2024
1 parent
ad8bf1d
commit 8ee71dd
Showing
8 changed files
with
23 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
module Main (main) where | ||
import Controller.Terminal (runGame) | ||
import Controller (runGame) | ||
|
||
main :: IO () | ||
main = runGame |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
These are random development thoughts/log. | ||
|
||
### July 31, 2024 | ||
The current repo has too much structure, I think it will be fine to do without the distinction between Terminal/better GUI. | ||
|
||
Claude provided a good roadmap of development: | ||
1. Work out core functionalities and have a single AI. Forget about servers for now. Implement all the logic. | ||
2. Still one main player and a single AI, but manage them through servers. I.e., server now controls the phase timers, and AI has | ||
to issue commands to the server, etc. | ||
3. flush out server stuff, adding game rooms, authentications, etc. | ||
|
||
Note, server and client will be bidirectionally. Server needs to manage phase timers and ping the client when phase changes. | ||
So, the client needs to `forkIO` twice for a sending and receiving thread. The server can have one `fork` per client. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters