Skip to content

A remake of the Flappy Bird game with Artificial Intelligence developed as a project for the Fondamenti di Intelligenza Artificiale (Fundamentals of Artificial Intelligence) course, part of the Computer Science Bachelor's Degree program at the University of Salerno

Notifications You must be signed in to change notification settings

raffaeleav/fia-bird

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 

Repository files navigation

A remake of the Flappy Bird game with Artificial Intelligence developed as a project for the Fondamenti di Intelligenza Artificiale (Fundamentals of Artificial Intelligence) course, part of the Computer Science Bachelor's Degree program at the University of Salerno

Table of Contents

Authors

Name Github profile
Aviello Raffaele raffaeleav
Menzione Michele Michibit

Overview

FIA Bird was developed with the goal of experimenting how artificial intelligence can be applied to video games. The underlying game that this project uses is an implementation that is quite similar to the original game (which this repository has forked). The purpose of the project is to apply the studied local search algorithms to the game's framework in order to make the game function automatically. The game consists of guiding the intelligent agent (represented by a robot sprite) through a series of obstacles represented by pipes, with the goal of making the agent fly as far as possible.

Preview

Features

  1. Hill Climbing algorithm
  2. Stochastic Hill Climbing algorithm

Requirements

How to replicate

  1. Clone the repository
git clone https://github.com/raffaeleav/fia-bird.git
  1. Switch to the project directory
cd fia-bird
  1. Compile the project
javac $(find . -name "*.java")
  1. Run the game with the Hill Climbing algorithm
java -cp ./src/main/java iamodule.HillClimbing
  1. Alternatively, run the game with the Stochastic Hill Climbing algorithm
java -cp ./src/main/java iamodule.StochasticHillClimbing

Built with

  • Java - used for the implementation of the local search algorithms
  • Piskel - used for the sprites

About

A remake of the Flappy Bird game with Artificial Intelligence developed as a project for the Fondamenti di Intelligenza Artificiale (Fundamentals of Artificial Intelligence) course, part of the Computer Science Bachelor's Degree program at the University of Salerno

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%