Skip to content

icecreammatt/ssu-cs315-worm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Worm

Author: Matt Carrier
Class: CS315: Project 4 - Worm

Local Dev Shell

  • nix develop -c $SHELL
  • Run make for subsequent builds.

Build and run with nix

  • nix build
  • nix run

Building with flakes

Run nix build . to build

Running

Run ./worm to start the game.

Running with flakes

Run nix run or ./result/bin/worm

Controls

w, a, s, d or i, j, k, l to move the worm.

Known issues program

Munchies that appear inside the worm will disappear after worm completely leaves the space. Going over this space after with the worm will read from uninitialized memory and shoot the score up very high. This will eventually lead to a crash.

Munchies can appear inside the worms body as I didn't have enough time to fully implement an auto updating free pool.

Munchies can also appear inside of the top wall due to the same reasons that the worm can walk inside the top wall.

About

Worm game in the terminal

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published