Skip to content

dangeroussnake/DangerousSnake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DangerousSnake

Snake in FORTRAN

Description

A simple snake game written in FORTRAN using gfortran and ncurses for FORTRAN.

Gameplay

main menu snake
snake with AI scores

Dependencies

ncurses port for Fortran 2003 (slightly modified)

Installation

Installation on Ubuntu

sudo apt install gfortran libncurses-dev cmake
git clone https://github.com/dangeroussnake/DangerousSnake.git
mkdir DangerousSnake/build 
(cd DangerousSnake/build && cmake .. && make)
DangerousSnake/bin/snake

Installation on UNIX

  • install CMake, gfortran, ncurses
  • clone the repository:
git clone https://github.com/dangeroussnake/DangerousSnake.git
  • Run CMake and make:
mkdir DangerousSnake/build 
(cd DangerousSnake/build && cmake .. && make)
DangerousSnake/bin/snake

Development

The project is built using CMake and Visual Studio Code.

Download the following VSCode plugins:

  • ms-vscode.cpptools
  • twxs.cmake
  • ekibun.fortranbreaker
  • krvajalm.linter-gfortran
  • webfreak.debug

About

DangerousSnake and its website are developed and maintained by the DangerousSnake Organization.

About

A simple snake game written in FORTRAN using gfortran and ncurses.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published