about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAge
* Made the snake smart and added collision detectionCase Duckworth2023-06-01
| | | | | | | | | | | | - I made the snake smart! - now it follows the appple around the screen trying to eat it - figuring out collision logic and making sure the snake didn't eat itself and all was .. whoo boy, it was wild - but in the end it works well enough! - Added game win/lose conditions - Added fruit - will make that work tomorrow - hacky AS HECK! here be dragons yall - collision detection is full of special cases, and I don't like how it works
* Change name to apple and add makefileCase Duckworth2023-06-01
|
* Remove spurious importCase Duckworth2023-05-31
|
* The snake moves on its own!Case Duckworth2023-05-31
| | | | | | | | | | | | | | | - Added color using the (yolk attrs) library - Parameterize (me) and (snake) in main to make definition order unimportant - Change game loop and event handling to allow for independent snake movement - This didn't require using threads! - Also enabled hjkl for movement. - The snake is very dumb right now --- it just goes in a circle. - Also includes timing! - And changing direction! - Randomly place snake and apple - Refactor functions to pass around the world less - This means that things now hold a reference to the world they're in .. I think this makes sense - Add checking if things are around a given thing
* Add cool rock pictureCase Duckworth2023-05-31
|
* Fix imageCase Duckworth2023-05-31
|
* Update readmeCase Duckworth2023-05-31
|
* Add take*Case Duckworth2023-05-30
|
* 2021-05-30Case Duckworth2023-05-30
| | | | | | See changelog I guess?! Updated COPYING. Cool rock picture to come.
* Add development logCase Duckworth2023-05-29
|
* Add README, for real this timeCase Duckworth2023-05-29
|
* Add README and COPYINGCase Duckworth2023-05-29
|
* Move game2 to gameCase Duckworth2023-05-29
| | | | I've changed from a purely terminal-rendered thing to one backed by a vector.
* Initial commitCase Duckworth2023-05-29