Giter Club home page Giter Club logo

artificialintelligence's Introduction

ArtificialIntelligence

Game of Tanks

by Tomás Carreras and Núria Lamonja

The Game and AI

This game is based on Unity's tutorial of Tanks by X and Y. You can find it here.

The goal is to improve its AI and create behaviours for the tanks, as well as improvements and innovative features.

It is developed under the MIT License.

  • To go to the Game's RELEASES click here.

  • To go to the GITHUB REPOSITORY click here.

  • To go to the WEB PAGE click here.

    • HERE you can find the report on the game's design
    • HERE you can watch a short video of the red tank wandering
    • HERE you can watch a short video of the blue tank patrolling
    • HERE you can watch how one tank shoots the other
    • HERE you can watch a short gameplay of the game with instructions
    • HERE you can watch a complete game
    • HERE you can find the release and HERE you will find the .unitypackage file

The Team

List of team members and GitHub and Linkedin accounts.

This project is developed by:

Controls

Features

Since we are adding realism to the asset, there won't be any kind of interaction between the player and the environment.

The shells shot by the tanks follow the Projectile Motion rules, with the initial starting force constant. The shell motion is controlled by the angle of the tank's turret, calculated with:

	tan(Â) = { v^2 ± [v^4 - g ( g * x^2 + 2 * y * v^2)]^(1/2) } / ( g * x )

	with  being the angle [º], v the speed [m/s], g the gravity [m/s^2] and (x, y) [m] the target position of the impact.

The game's design and movement follows has the following constraints: - The red tank wanders - The blue tank patrols - The turret of both tanks always points at the other tank and shoots when a suitable angle occurs - There is a delay between each shot

It also has an UI with the following: - Button to activate patrolling for each tank - Button to activate wander for each tank - Pause/Play the game - Options: Audio volume, Game modes (activate player 1 with game buttons, activate player 2 with game buttons, activate both players with game buttons, deactivate players (AI, general/main setup) with game buttons and deactivate players (AI) without game buttons), Quit - Create a unit (smaller tanks that will attack the enemy's base and enemy units -there are two types-). You earn gold when the tank hit's the enemy's

It also features everything taught in the tutorial mentioned above.

Other information

artificialintelligence's People

Contributors

needlesslord avatar

Stargazers

 avatar

Watchers

James Cloos 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.