Skip to content

Instantly share code, notes, and snippets.

@harshcodes
harshcodes / hexgame.java
Last active August 29, 2015 14:27 — forked from salamander2/hexgame.java
Hexagonal Grid in Java
import java.awt.*;
import javax.swing.*;
import java.awt.event.*;
/**********************************
This is the main class of a Java program to play a game based on hexagonal tiles.
The mechanism of handling hexes is in the file hexmech.java.
Written by: M.H.
Date: December 2012