Skip to content

This program implements a simple coin tossing game where the user guesses the outcome of a coin toss. The game should toss a coin 1 times and add the score.

Notifications You must be signed in to change notification settings

TheSGJ/cointoss-fortran

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Coin face guessing game in Fortran

  • I have created this command line game with the help github copilot with no experience in Fortran. This challenge was given by the MLH. I am very happy to participate for such challenge, thanks MLH!

Participate in Global Hack Week from link below

Running this Command Line Game

If you havent installed gfortran install it using:

chmod +x  ./install-fortran.sh
./install-fortran.sh

Run

chmod +x  ./toss.sh
./toss.sh

Fortran

Game Rules

  • This program implements a simple coin tossing game where the user guesses the outcome of a coin toss. The game should toss a coin 1 times and add the score.

Credits

I was helped very much by the information to set up Fortran for vscode and installation by this repository (https://github.com/JHenneberg/Guide_VSCode-fortran)

Thanks to GitHub Education for providing GitHub Copilot to use for fee

About

This program implements a simple coin tossing game where the user guesses the outcome of a coin toss. The game should toss a coin 1 times and add the score.

Topics

Resources

Stars

Watchers

Forks