CLI game for guessing sorting algorithms
This repository has been archived on 2026-01-13. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
krolyxon ada569514b exit on hard 2023-09-01 13:11:59 +05:30
assets add winner.txt 2023-08-31 18:44:41 +05:30
src exit on hard 2023-09-01 13:11:59 +05:30
.gitignore minor refactoring 2023-08-31 08:50:20 +05:30
LICENSE add LICENSE 2023-08-31 08:51:09 +05:30
Makefile minor refactoring 2023-08-31 08:50:20 +05:30
README.md exit on hard 2023-09-01 13:11:59 +05:30

README.md

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.
  • When you reach the level 10 and make the right guess, You win the game.
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 doesn't really make a difference on the gameplay, but i do plan on adding features, such as high score.

TODO

  • Algorithms to be implemented:
    • Bubblesort
    • SelectionSort
    • InsertionSort
    • Radix Sort
  • Score system
    • Implement Score system
    • Make the score system somewhat useful
  • Code Refactoring/Cleaning