Skip to content

Commit 16db6f7

Browse files
dzianis-sudkoudzianis-sudkou
authored andcommitted
Updated Readme file. Deleted unused function
1 parent 607a7f7 commit 16db6f7

File tree

2 files changed

+2
-30
lines changed

2 files changed

+2
-30
lines changed

README.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ An advanced version of the classic Tic-Tac-Toe game with a twist. The game consi
99
- [x] A move in one of the small boards determines the next board to play in.
1010
- [x] Win conditions for both individual boards and the overall game.
1111
- [x] A user-friendly terminal graphical interface.
12-
- [ ] Basic game Logic for single-player mode.
12+
- [x] Basic game Logic for a single-player mode.
1313

1414
## Can-have
1515

16-
- [ ] Computer opponent logic with different difficulty levels.
16+
- [x] Computer opponent logic with different difficulty levels.
1717
- [ ] Customizable themes and board designs.
1818
- [ ] Replay functionality to review past games.
1919

@@ -46,10 +46,6 @@ After installing Effekt, you can run the project by executing the following comm
4646
effekt src/Stupid.effekt --backend js --includes .
4747
```
4848

49-
This will then produce a `main.html` and `main.js` file in the `out` directory. You can open the `main.html` file in your browser to run the emulator.
50-
51-
Chip-8 ROMs can be found online and loaded into the emulator by clicking the "Load ROM" button in the GUI.
52-
5349
## Resources
5450

5551
- [Ultimate Tic-Tac-Toe reference](https://www.youtube.com/watch?v=dQw4w9WgXcQ)

src/lib.effekt

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -43,30 +43,6 @@ def playerString(player: Cell): String = {
4343
}
4444
}
4545

46-
// /*
47-
// * Compares two lists and gives true if they're the same
48-
// * Input: list1, list2
49-
// * Output: Bool
50-
// */
51-
// def compare(list1: List[Int], list2: List[Int]): Bool = {
52-
// with on[OutOfBounds].panic
53-
54-
// if ((list1.size == list2.size) && not(list1.size == 0)){
55-
// var counter: Int = 0
56-
// var output: Bool = true
57-
// while (counter < list1.size && output){
58-
// if(list1.get(counter) == list2.get(counter)){
59-
// counter = counter + 1
60-
// } else {
61-
// output = false
62-
// }
63-
// }
64-
// output
65-
// }else{
66-
// false
67-
// }
68-
// }
69-
7046
def consoleInput(): String = {
7147
with console
7248
do readLine()

0 commit comments

Comments
 (0)