Skip to content

0adri3n/CrousOrJail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CROUS or Jail - The Game 🎮

Can you tell the difference between a French student dormitory (CROUS) room and a prison cell? It's harder than you think!


🕹️ About

This game challenges players to identify whether photos show CROUS student housing or prison cells.

Features:

  • Prison interrogation theme with dark mode
  • Score tracking (correct/incorrect)
  • Image preloading for smooth gameplay
  • Keyboard shortcuts for faster responses
  • Share your score on Twitter/X
  • Fully responsive design for all devices

🎯 How to Play

  1. Look at the photo
  2. Choose: CROUS (student dorm) or JAIL (prison cell)
  3. See if you're right!
  4. Share your score with friends

Keyboard Shortcuts:

  • 1 or C : Choose CROUS
  • 2, P, or J : Choose JAIL
  • Enter or Space : Next photo (after answering)

⚙️ Setup

GitHub Pages

  1. Clone this repository
  2. Add your image URLs to crous.txt and prison.txt (one URL per line)
  3. Push to GitHub
  4. Enable GitHub Pages in repository settings

Local Usage

Simply open index.html in your browser!


📂 Data Format

crous.txt - One CROUS dormitory image URL per line:

https://example.com/crous1.jpg

https://example.com/crous2.jpg

prison.txt - One prison cell image URL per line:

https://example.com/prison1.jpg

https://example.com/prison2.jpg


🤝 Contributing

Want to help improve the game?
You can contribute by adding new image URLs to the game:

  1. Fork the repository
  2. Add new URLs to crous.txt or prison.txt (one URL per line)
  3. Commit your changes and open a pull request
  4. Or, if you prefer, open an issue suggesting new images

All contributions are welcome! 🎉


📜 Credits

Created by 0adri3n

License: Open source - Use freely!

About

Try go guess between a CROUS room or a prison cell

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published