Skip to content

A source code of android game called 'antiyoy'.

License

Notifications You must be signed in to change notification settings

VolodymyrBiryuk/Antiyoy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Setting up

LibGDX Project Generator

(I used antiyoy-dd as the name, anything else is fine)

Download the libgdx project generator: https://libgdx.badlogicgames.com/download.html

Use it to generate a project:

  1. Fill details
    • Antiyoy:
      • antiyoy-dd
      • yio.tro.antiyoy
      • YioGdxGame
      • D:\Projects\Android\antiyoy-dd
  2. Remove ios and html sub-projects
  3. Under ‘Extensions’ enable the following:
    • Freetype
  4. Inside ‘Advanced’ enable ‘IDEA’
  5. Click ‘Generate’
  6. Verify appropriate build-tools (23.0.1) & API (20) versions (NO,OK,NO,OK)

IDEA Project Settings

Open ‘antiyoy-dd.ipr’ (do not import) in IDEA Ignore ballon notification about ‘unlinked gradle project’ (better just press ‘do not show anymore’)

Open settings (Click Ctrl+Shift+Alt+S)

  1. Set Android SDK (default of libGdx - API 20)
  2. Set language level (Antiyoy minimum - 7)

Edit Run/Debug Configurations

  • Android
    1. Click ‘+’ and select ‘Android Application’
    2. Name it RunAndroid
    3. Select module ‘android’
  • Desktop
    1. Click ‘+’ and select ‘Application’
    2. Name it RunDesktop
    3. Set the ‘Main class’ by the button to the right of the field (Shift+Enter)
      • e.g. com. … .desktop.DesktopLauncher
    4. Set working directory to android/assets
    5. Select module ‘desktop’

Or it can be done easier:

  • Android
    1. Go to AndroidLauncher.java
    2. Press Ctrl+Shift+F10
  • Desktop
    1. Go to DesktopLauncher.java
    2. Press Ctrl+Shift+F10
    3. Go to run configuration and set working directoy to ‘android/assets’

Test

At this stage you should be able to run the android and the desktop version of the generated example. Use the run button or press Shift+F10. Also you can use Alt+Shift+F10 to choose which run config to run.

##Copy Antiyoy Source Files Delete ‘android/assets/badlogic.jpg’.

Download or clone the github repository of Antiyoy from: https://github.com/yiotro/Antiyoy

Overwrite the files in ‘antiyoy-dd’ with the files from Antiyoy repository:

  1. The ‘assets’ directory shoud overwrite ‘android/assets’ directory
  2. The ‘core’ directory shoud overwrite ‘core’ directory (At least one file should be replaced, the one that extends ApplicationAdapter)

AndroidManifest

Open ‘android/AndroidManifest.xml’ Change screenOrientation to portrait

Test

At this stage you should be able to run Antiyoy, try it!

TODO - How to make a pull request?

Development Ideas

dvb’s ideas

Progressively Learning AI

AI that can progressively learn to play better against the human player, without a constant predefined set of rules.

Multiplayer Games

Using Google Play Games Services: https://developers.google.com/games/services/android/turnbasedMultiplayer AI players should still be an option, as described in: http://stackoverflow.com/questions/26125273/how-to-create-a-computer-opponent-in-turn-based-google-play-game?rq=1

About

A source code of android game called 'antiyoy'.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%