Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 

README.adoc

RandomWalk is a simulation of a simple dice-playing game. The (solitary) player begins with $4 and repeatedly rolls a die. If it comes up even, he wins one dollar. If it comes up odd, he loses a dollar.

Install: Run sh build.sh

Source files: src/randomWalk.elm is the game simulation file. It relies on src/Graph.elm. This module is of general use for drawing graphs and simple geometric figures using coordinates in the Cartesian plane.

Run: Open index.html in your browser

Image: the image randomWalk.jpg gives an image of one game.

About the Graph Library: The library Graph.elm can be used for a variety of image-making purposes. See src/Composition1.jpg for an example, and see image/composition1.png for an image produced with this technology.

About

Elm program to simulate a simple dice-playing game.

Resources

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.