summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-08-27Add: associated scratch files from the old repoHEADmainGrant Shangreaux
2022-08-27Add: much more Emacs literate code tutorial documentationGrant Shangreaux
2022-02-12[WIP] Docs: fill out tutorial nature of the documentGrant Shangreaux
cover Emacs, Lisp, and org mode gently as we go along
2022-02-12Clean: rename from mafia -> wink-murderGrant Shangreaux
i wasn't actually building mafia, i had conflated the two games. as i plan to continue other prototypes, i figured i should just rename stuff now.
2022-02-06Add: events to game state and log them when game endsGrant Shangreaux
- list type events slot on mafia - helper methods for current game mafia-add-event & mafia-current-tick - update the tick in game loop - clear log buffer each new game - switch to buffer at game end
2022-02-04Add: first iteration of eventsGrant Shangreaux
2022-02-04Clean: restructure outline heading levelsGrant Shangreaux
2022-02-04Docs: eieio custom widgets exampleGrant Shangreaux
2022-01-31Docs: note about broken code samplesGrant Shangreaux
2022-01-31Fix: endless game loopGrant Shangreaux
2022-01-30Add: mafia-observe into main loop and loggingGrant Shangreaux
- *MAFIA-LOG* buffer can be written to with `mafia-log` function - `mafia-update` maps over the actors with `mafia-observe` the simulation is poor, the killer randomly decides to wink and retarget, so the loop will end eventually. the actors don't try to do anything and behavior is nonsensical xD
2022-01-30Clean: methods -> defuns and renamingGrant Shangreaux
2022-01-30Clean: mafia-eye-contact? method -> defunGrant Shangreaux
2022-01-30Clean: use mod in neighbors fun to be nicerGrant Shangreaux
2022-01-30Fix: broken behavior methods so the base sim runsGrant Shangreaux
2022-01-30Docs: source block eval notesGrant Shangreaux
include block to set `org-confirm-babel-evaluate` to nil if you want to not be warned each time
2022-01-25Clean: add heading and upcaseGrant Shangreaux
2022-01-25Fix: alive -> status slot change in mafia-innocent-dieGrant Shangreaux
2022-01-25Add: more WIP observation methodsGrant Shangreaux
- build out being-watched? logic as a method (unfinished) - add a neighbors function for "fuzzy" observation notes? - split out some methods into separate source blocks and add org notes
2022-01-24Add: WIP implementation of actor observationGrant Shangreaux
Add notes alist slot to mafia-actor class
2022-01-22Add: thinking and code sketches for observationGrant Shangreaux
2022-01-22Clean: whitespace and lines between tangled outputGrant Shangreaux
2022-01-22Clean: better main heading titleGrant Shangreaux
2022-01-22Add: minor change to example code, use with-slotsGrant Shangreaux
2022-01-22Docs: basic README.md fileGrant Shangreaux
2022-01-21Feature: initial sketch of `mafia-play` commandGrant Shangreaux
Add basic class model for the game Add simplest possible game loop