aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: c1ffaf3ce7f31a9a734f5b73585612abab3c30fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# TROS
This is a CLI game where you have to guess the sorting algorithm used to sort a randomly generated list of numbers based on the passes displayed on the screen.
The game has 3 difficulty modes:
1. **Easy**: When you make a wrong guess, you score will be decremented by 10 and level by 1.
2. **Medium**: Score will be decremented by 20 and level by 10.
3. **Hard**: You lose the game when you make a single wrong guess.

## Levels
- There are total 10 levels and the number of elements the list has depends upon it. The levels are as follows:

| Level | Elements |
|-------|----------|
| 1     | 5 Elements       |
| 2     | 8 Elements       |
| 3     | 11 Elements      |
| 4     | 14 Elements      |
| 5     | 17 Elements      |
| 6     | 20 Elements      |
| 7     | 23 Elements      |
| 8     | 26 Elements      | 
| 9     | 29 Elements      | 
| 10    | 32 Elements      |

At the moment the score system is useless, and doesnt really make a difference on the gameplay, but i do plan on adding features, such as high score.

# TODO
- [x] Algorithms to be implemented:
    - [x] Bubblesort
    - [x] SelectionSort
    - [x] InsertionSort
    - [x] Radix Sort
- [x] Implement Score system
- [ ] Code Refactoring/Cleaning