Skip to content

Goflap is a Flappy Bird game developed in Golang. Enjoy a nostalgic retro gaming experience as you guide a cute bird through challenging obstacles. Dive into the source code to learn game development in Golang. Start flapping and have fun!

Notifications You must be signed in to change notification settings

gopal96685/goflap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

goflap Game

goflap

Goflap is a simple and addictive game developed using Golang. The objective of the game is to navigate a bird through a series of pipes without hitting them or the boundaries of the game window.

Features

  • Simple and intuitive gameplay.
  • Responsive controls.
  • Graphics and sound effects.
  • Bird animation.
  • State variable updates.

Prerequisites

Before running the game, make sure you have the following prerequisites installed on your system:

Installation

  1. Clone the repository:

git clone https://github.com/gopal96685/goflap

  1. Navigate to the project directory:

cd goflap

  1. Install the necessary SDL packages:

Ubuntu

sudo apt-get install libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev

macOS

brew install sdl2 sdl2_image sdl2_mixer sdl2_ttf

  1. Build the game:

go build

Usage

  1. Run the game:

./goflap

  1. Use the spacebar to control the bird's movement. Press spacebar to make the bird jump and avoid the pipes.

  2. The game will continue until the bird collides with a pipe or the game window's boundaries.

goflap

Contributing

Contributions are welcome! If you would like to contribute to this project, please follow these steps:

  1. Fork the repository.

  2. Create a new branch:

git checkout -b feature/your-feature

  1. Make your changes and commit them:

git commit -m "Add your message here"

  1. Push to the branch:

git push origin feature/your-feature

  1. Create a new pull request.

License

This project is licensed under the MIT License.

Acknowledgements

  • The Flappy Bird game concept was originally created by Dong Nguyen.

Contact

For any inquiries or suggestions, please contact me.

About

Goflap is a Flappy Bird game developed in Golang. Enjoy a nostalgic retro gaming experience as you guide a cute bird through challenging obstacles. Dive into the source code to learn game development in Golang. Start flapping and have fun!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages