Skip to content

lukinoo0/lightsout-spring-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

💡 Lights Out – GameStudio Project

A Java Spring Boot implementation of the classic Lights Out puzzle game.
Includes both web-based and console versions developed as part of a GameStudio project.


🎮 Gameplay Overview

Lights Out is a logic-based puzzle where the goal is to turn off all the lights on the board.
Clicking a light toggles it and its adjacent lights — the challenge is to find the correct combination!

🧩 Features

  • Two gameplay modes:
    • Endless mode – play random levels continuously.
    • Progressive mode – start from smaller boards and progress to larger ones.
  • Web interface built with Thymeleaf + Bootstrap
  • Console version for terminal-based play
  • Player scores, ratings, and comments stored in PostgreSQL
  • Backend powered by Spring Boot + JPA/Hibernate
  • REST API support for external clients

🖥️ Demo Videos

🎮 Console gameplay:
https://www.youtube.com/watch?v=YiTtKiysoSE&t=25s

🌐 Web gameplay:
https://www.youtube.com/watch?v=jgd6u4aD8RQ


⚙️ Tech Stack

Layer Technology
Language Java 17
Framework Spring Boot 2.4.4
Frontend Thymeleaf + Bootstrap
Database PostgreSQL (JPA / Hibernate)
Build Tool Maven
IDE IntelliJ IDEA

🚀 Running the Project

▶️ Option 1: Run in IntelliJ

  1. Open the project in IntelliJ IDEA
  2. Run GameStudioServer.java
    → The web app will start at http://localhost:8080/lightsout

▶️ Option 2: Using Maven

mvn spring-boot:run

About

A Java Spring Boot implementation of the classic Lights Out puzzle game, featuring both web-based and console gameplay.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors