Git Product home page Git Product logo

fightingice's Introduction

AI Fighting

SCB GAMEDAY CHALLENGE

Alt text

Introduction

This project is doing for build learning culture on an organize. This is Fighting game. So, you can play by the keyboard or AI also.

Registration at Knockout Schema

Prerequisite

git

jdk 8 or above

IntelliJ IDEA

Source

git clone https://github.com/iamgique/FightingICE.git

How to run the game

Import project from directory FightingICE

Add library
- File > project structure > modules 
- Click Plus (+) > JARs or Directories
-- /{your_directory}/AIToolKit.jar
-- /{your_directory}/FightingICE.jar
-- /{your_directory}/lib/javax.json-1.0.4.jar
-- /{your_directory}/lib/py4j0.10.4.jar
-- /{your_directory}/lwjgl/lwjgl.jar
-- /{your_directory}/lwjgl/lwjgl_util.jar
-- /{your_directory}/lwjgl/lwjgl-glfw.jar
-- /{your_directory}/lwjgl/lwjgl-openal.jar
-- /{your_directory}/lwjgl/lwjgl-opengl.jar
Add library follow by your OS
- File > project structure > modules 
- Click Plus (+) > JARs or Directories
-- /{your_directory}/natives/{your_os}/lwjgl-glfw-natives-{your_os}.jar
-- /{your_directory}/natives/{your_os}/lwjgl-natives-{your_os}.jar
-- /{your_directory}/natives/{your_os}/lwjgl-openal-natives-{your_os}.jar
-- /{your_directory}/natives/{your_os}/lwjgl-opengl-natives-{your_os}.jar

Alt text

Alt text

Add configuration for IntelliJ
- Choose application
- At the main class: Main
- At VM Option: -XstartOnFirstThread
- Working directory: your directory
- Use classpath of module: FightingICE
- OK

Alt text

Alt text

run

How to add you AI file to FightingICE

When you have AI file you can push it into directory '/{your_directory}/data/ai/'

Alt text


How to play

- Choose the menu by Arrow on keyboard
- 'Z' is the command to choose
- Choose the Player1 and Player2
- Choose the Character1 and Character2
- Play the game

Play by keyboard

Player1
'z' = Punch
'x' = Kick
'Arrow Up' = Jump
'Arrow Down' = Sit
'Arrow Back' = Step back or Guard // You can also double
'Arrow Forward' = Step forward // You can also double
 
Player2
't' = Punch
'y' = Kick
'i' = Jump
'k' = Sit
'l' = Step back or Guard // You can also double
'j' = Step forward // You can also double

Alt text

Alt text


To do AI file

Source FighterAI

References

Source from FightingICE

fightingice's People

Contributors

iamgique 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.