Skip to content

Instantly share code, notes, and snippets.

@salamander2
salamander2 / hexgame.java
Created December 18, 2012 17:03
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