Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package org.macquarie.oxo;
- import java.util.Scanner;
- public class TextInerface {
- /**
- * @param args
- */
- public static void main(String[] args) {
- // TODO Auto-generated method stub
- for (int i = 1; i < 7; i++) {
- System.out.print(i);
- System.out.print(" ");
- for (int j = 0; j < 7; j++){
- System.out.print(".");
- }
- System.out.println();
- }
- String m = "ABCDEFG";
- System.out.print(" " + m);
- System.out.println();
- System.out.println();
- System.out.println("move# 1");
- System.out.println("player 0");
- System.out.println();
- Scanner vReader = new Scanner(System.in);
- System.out.print("Type your move <A-G, U, R, I or X>:");
- System.out.println();
- String vInput = "";
- vInput = vReader.nextLine();
- System.out.println("Your input is: " + vInput);
- if (vInput.equals("A") || vInput.equals("a")) {
- System.out.println("A is on cock sucka");
- GameModel.play(0);
- }
- if (vInput.equals("B") || vInput.equals("b")) {
- System.out.println("B is on cock sucka");
- }
- if (vInput.equals("C") || vInput.equals("c")) {
- System.out.println("C is on cock sucka");
- }
- if (vInput.equals("D") || vInput.equals("d")) {
- System.out.println("D is on cock sucka");
- }
- if (vInput.equals("E") || vInput.equals("e")) {
- System.out.println("E is on cock sucka");
- }
- if (vInput.equals("F") || vInput.equals("f")) {
- System.out.println("F is on cock sucka");
- }
- if (vInput.equals("G") || vInput.equals("g")) {
- System.out.println("G is on cock sucka");
- }
- }
- }
Add Comment
Please, Sign In to add comment