Skip to content

coryplusplus/DuckHunt

Repository files navigation

Aimeos logo

Duck Hunt

Video games were a huge motivation and the reason I chose to become a software developer.

If you are anything like me, learning to code was most fun when I was working on games!

When I was in college (10+ years ago) final project in my first ever Java class was to code a game.

I chose DuckHunt!

I want to share with you the source code of the game DuckHunt written solely in Java using Java AWT Events and Java Swing.

Please make the code better, clean it up, add new images, etc. Have fun with it.

I hope it helps you on your learning journey

Table of content

Installation

Simply git clone the source code and import to an IDE of your choice. You will need to have JDK 1.7 or JDK 1.8 installed

Running

All you need to do is run the main method inside of the RunGame.java class. This will boot up the game and let you start playing.

package game;

public class RunGame {
	

	public static void main(String[] args) {
		GameBuilder gameBuilder = new GameBuilder("DuckHunt");
	}

}

About

My version of Duck Hunt written in Java

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages