Giter Club home page Giter Club logo

torpedojatek-torpedogame's Introduction

TorpedoJatek (TorpedoGame)

TorpedoJatek is a 1vs1 torpedo game i created from scratch. It was the 3rd game i ever created and also my thesis at the university.
It is based upon server-client architecture. It was thoroughly tested, so the latest version(v0.1.1) should not crash at all.

It uses:

  • OpenGL API for 3d graphics and shaders.
  • SDL for input handling, drawing letters, playing audio and tcp connection between server and client.
  • glm for vector/matrix types and calculations.

Gameplay image

Prerequisites

Build: Visual Studio 2015 or newer having the MSCV compiler.
The Windows 8 SDK or newer.

Play: In case of a runtime error, you have to install the appropriate Visual C++ redistributable.

Installation

You can download the latest pre-built .zip-s in release, built on Windows 7.

...or build it:

  1. Clone the repository
git clone Zentrom/TorpedoJatek-TorpedoGame
  1. Open TorpedoJatek.sln with Visual Studio and build both the client and the server project in Release mode, x64 platform.
  2. Copy the respective .dll files from OGLPack/bin, inside the build directories where the server/client is located.

Usage

  1. Start the server executable. Make sure you have the selected port forwarded if you plan to play over the internet. (or use a VPN)
  2. Both players start the client executable and connect to the server host.

In the client, you can also change some options like resolution or volume.
The game controls are listed inside the Play menu.
Currently the game does not have an AI opponent, so there is no singleplayer mode. You can run two client instances on the same pc though. There is also the Debug option in the main menu, which lets you check the 3d scene without the need to connect to a game server.

Contributions

This project is currently stalled. I might return to it in the future to optimize it or even add new content, but that might also never happen. This also means that I will not review pull requests, unless i start actively developing this again.

License

Commercial use of this project and its derivatives is not allowed.
Details in the License file.

torpedojatek-torpedogame's People

Contributors

zentrom avatar

Watchers

Endre Fülöp avatar  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.