-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add web application README.md and docs
- Loading branch information
1 parent
c430449
commit 5dd1e07
Showing
2 changed files
with
21 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
# Haxe project | ||
# Dice Game in Web Application using Haxe and JavaScript | ||
|
||
This is an example Haxe project scaffolded by Visual Studio Code. | ||
This is a dice game with a web application that uses Haxe to compute to JavaScript code. It uses HTML to process input how many dice to roll and also displays the sum of all dice. | ||
|
||
Without further changes the structure is following: | ||
### Getting Started | ||
|
||
* `src/Main.hx`: Entry point Haxe source file | ||
* `build.hxml`: Haxe command line file used to build the project | ||
* `README.md`: This file | ||
``` | ||
git clone https://github.com/lulunac27a/dice-game-haxe.git | ||
cd dice-game-webapp | ||
haxe build.hxml | ||
``` | ||
After running this code above, open index.html in your browser and enter the number of dice to roll and click **Roll Dice** button to roll the dice. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Dice Game in Web Application using Haxe and JavaScript | ||
|
||
This is a dice game with a web application that uses Haxe to compute to JavaScript code. It uses HTML to process input how many dice to roll and also displays the sum of all dice. | ||
|
||
### Getting Started | ||
|
||
``` | ||
git clone https://github.com/lulunac27a/dice-game-haxe.git | ||
cd dice-game-webapp | ||
haxe build.hxml | ||
``` | ||
After running this code above, open index.html in your browser and enter the number of dice to roll and click **Roll Dice** button to roll the dice. |