Skip to content

Instantly share code, notes, and snippets.

View gawlow's full-sized avatar

Michal Gawlowski gawlow

View GitHub Profile
@gawlow
gawlow / hexgame.java
Created November 21, 2018 13:23 — 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