Skip to content

Instantly share code, notes, and snippets.

@Aveys
Aveys / login.sh
Last active August 29, 2015 14:12 — forked from outadoc/login.sh
### colors
RED="\e[0;31m"
GREEN="\e[0;32m"
CLR="\e[0m"
echo ""
### check internet connectivity
INTERNET_WGET=`wget -q --tries=10 --timeout=20 -O - http://google.com > /dev/null`
INTERNET_STATUS="${RED}DOWN$CLR"
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