Skip to content

Instantly share code, notes, and snippets.

View jabrena's full-sized avatar

Juan Antonio Breña Moral jabrena

View GitHub Profile
@jabrena
jabrena / RandomGameName.java
Created April 30, 2017 23:21 — forked from trevren11/RandomGameName.java
Generate a random game name in Java
package cs340.tickettoride.shared.utils;
import java.util.Random;
public class RandomGameName {
private static String[] Beginning = {"Busy",
"Lazy",
"Careless",
"Clumsy",
@jabrena
jabrena / TwentyFourtyEight
Created April 30, 2017 22:53 — forked from ayyytam/TwentyFourtyEight
2048 terminal game
// Terminal 2048
// By: Andrew Tam
// There is currently no GUI for this game and is played completely on the Terminal.
// Type in the instructions such as "up", "down", "left", "right" to move the tiles
// Type in "reset" to reset the game
import java.util.Scanner;
import java.util.Arrays;
import java.util.ArrayList;
import java.util.Random;