micmarty / snake-game-r-language

Proof-of-concept, plotting snake game board using rects and implementing snake logic

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Snake game

Classic game implemented in R language using plots

How to play

You can use RStudio to launch the script or some CLI tool

Keys

  • w, s, a, d -> choose direction
  • just ENTER -> repeat last action
  • q -> quit game

You need to accept each character key with ENTER

About

Proof-of-concept, plotting snake game board using rects and implementing snake logic


Languages

Language:R 100.0%