https://github.com/haletran/guess-the-login
A straightforward 'Guess Who?' game where the objective is to identify the user's login based on their profile picture.
https://github.com/haletran/guess-the-login
42 42born2code game
Last synced: 8 months ago
JSON representation
A straightforward 'Guess Who?' game where the objective is to identify the user's login based on their profile picture.
- Host: GitHub
- URL: https://github.com/haletran/guess-the-login
- Owner: Haletran
- License: mit
- Created: 2024-09-07T17:11:20.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-05-28T09:21:45.000Z (about 1 year ago)
- Last Synced: 2025-05-28T10:28:57.891Z (about 1 year ago)
- Topics: 42, 42born2code, game
- Language: JavaScript
- Homepage:
- Size: 712 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Guess the Login
A straightforward 'Guess Who?' game where the objective is to identify the user's login based on their profile picture.
This project was developed as part of the bonus of the ```Inception``` project from 42. [link to my inception](https://github.com/Haletran/42_Inception)
## Stack
- Backend: Node.js with ```Express``` server
- Frontend: Basic HTML and JavaScript
- CSS Framework: [Pico CSS](https://picocss.com/) for a minimalist and responsive design
## Installation and Setup
To get started, clone the repository:
```bash
git clone https://github.com/Haletran/Guessthe42Login.git && cd Guessthe42Login
```
Dependencies:
- ```nodejs```
- ```npm```
- ```express```
You also need the db of all the users, I've choose to put my DB in a simple ```.json``` file.
The file should be called ```db.json``` and put into the ```src``` folder.
The formatting for the ```DB``` should be like this to make this work :
```sql
[
{
"image_url_medium": ,
"login": ,
},
{
"image_url_medium": ,
"login": ,
}
]
```
To install the dependencies and start the server:
```bash
npm install && node server.js
```
Open your web browser and navigate to ```http://localhost:3000``` to start playing.
## License
This project is licensed under the [MIT License](LICENSE)