Skip to content

Dxnale/hit-the-mole

Repository files navigation

Hit the Mole

"Hit the Mole" is a classic arcade game developed in C# using Windows Forms. The project was created as part of the PROG2EVA1 course by Javier Nieves and Daniel Torrealba.

Description

This application is a desktop version of the "Hit the Mole" game. It features a user authentication system, a game screen where the player can hit moles to score points, a scoreboard, and an admin panel for user management.

Features

  • User Authentication: Players can create an account, log in, or play as a guest.
  • Admin Panel: An admin can log in with the credentials "admin/admin" to manage users (add, delete, view).
  • Game: The core of the application. Moles pop up at random, and the player must click them before they disappear. The score is tracked, and there is a timer.
  • Scoreboard: The top scores are saved and displayed.
  • Database Integration: The application uses a local SQL Server database to store user and score information.

Getting Started

To run this project, you will need to have Visual Studio and SQL Server installed.

Prerequisites

  • Visual Studio
  • SQL Server

Installation

  1. Clone the repository or download the source code.
  2. Open the .sln file in Visual Studio.
  3. The project uses a local SQL Server database file (.mdf). The database should be created automatically when the application is run. The connection string is defined in Class/SQLClass.cs. If you have issues with the database connection, you may need to modify the connection string to match your SQL Server instance.
  4. Build and run the project.

Built With

Authors

  • Javier Nieves
  • Daniel Torrealba

About

Evalucion 1 | Programación 2 | Golpea al Topo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages