Coder Social home page Coder Social logo

battleships-game's Introduction

Battleships

Software Engineering Project

Table of Contents

Features

The application implements the game "Battleships" on a standard rules.

  • 3 game modes: Human vs Human, Human vs AI, AI vs AI
  • 3 AI difficulties (Easy, Medium, Hard)
  • Possibility of manual and random deployment of ships
  • User registration and login
  • Collecting game statistics for each player
  • Saving replays of every game and replay them later

AI

When playing with AI there are 3 difficulty levels available:

  • EASY - AI shots randomly
  • MEDIUM - AI shots randomly, but when it hits a ship, it tries to destroy it to the end (by shooting all around)
  • HARD - AI plays like in Medium difficulty but have 20% chance to shots twice in his turn. If it doesn't shoot double, chance increases by 20% (up to 100%). If it shoot double, chance is reset to 0%.

Technologies Used

  • Java 17.0.1
  • JavaFX Library + FXML (SceneBuilder)
  • Maven
  • MySQL Database (Local)

Screenshots

screenshot1 screenshot2

How to open

IntelliJ IDEA

  1. Download project via Github
  2. Open using IntelliJ IDEA
  3. Reload Maven Dependencies
  4. Run via LoginWindow.java class

Acknowledgments

battleships-game's People

Contributors

maswi0118 avatar annamlynarczyk avatar dkwapisz avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.