Made for humans interested in Valve's intellectual property Counter-Strike (cs) and its professional scene. In the game the user guesses cs pro players in a Wordle inspired spectacle.
The project includes the following features:
- Main Game: A guessing game based on CS pro players.
- Leaderboard: Tracks points of logged-in players.
- Profile Management: Allows users to manage their profiles.
- Login System: Enables users to log in.
Our project for now is hosted in csgg.fi. If we have run out of money in our azure you can setup this project locally.
Before starting here setup the authentication server in a different project. Authentication repository: https://github.com/nuttie1/noo-web-auth.
Follow these steps to set up the project locally:
-
Clone the repository: Use your preferred Git client to clone this repository to your local machine.
-
Configure Environment Variables: Rename the
.env.sample
file to.env
and add the value forDB_URL
(you get that from the developers ;)). -
Install Dependencies: Run the following command in your terminal to install the necessary dependencies:
npm i
-
Build the Project: Run the following command in your terminal to build the project:
npm run build
-
Start the Server: Run the following command in your terminal to start the server:
npm start
You're all set! Open the project in your browser at localhost:4002
.
After local environment has been set you can run the tests by command:
npm run test-graphql
To test the api manually you can access the Apollo Sandbox with localhost:4002/graphql
or straight in the azure with /graphql
.
In the main game page there is a question mark icon that opens a help page.
Project is a fun time killer with ability to compare scores with friends. Try to sharpen your cs2 pro scene knowledge. Game works without registering (you do not get point).
Made by Niko Ala-aho, Onni Pajula and Otto Palssa