Skip to content

Commit

Permalink
Add web application README.md and docs
Browse files Browse the repository at this point in the history
  • Loading branch information
lulunac27a committed Apr 16, 2024
1 parent c430449 commit 5dd1e07
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 6 deletions.
15 changes: 9 additions & 6 deletions dice-game-webapp/README.md
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.
12 changes: 12 additions & 0 deletions docs/dice-game-webapp/index.md
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.

0 comments on commit 5dd1e07

Please sign in to comment.