Skip to content

Instantly share code, notes, and snippets.

View Nihilish's full-sized avatar

Simon Besozzi Nihilish

  • Montreal
View GitHub Profile
@Nihilish
Nihilish / hexgame.java
Created January 1, 2020 18:48 — 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