All pastes #719779 Raw Edit

Vermischtes

public java v1 · immutable
#719779 ·published 2007-09-29 16:46 UTC
rendered paste body
public class Hidden{int x;int y;String[][] xyz;int xHidden;int yHidden;int feld1;String Buchst1;void hiddenwelcome(){xyz = new String [5][5];System.out.println("Sie haben Hiddenpairs gewählt");spielzug();}public void  spielzug(){System.out.println("Bitte geben Sie die Koordinaten von dem Feld ein was Sie Aufdecken moechten");	System.out.println("");System.out.println("Zuerst die x Koordinaten");	x = Tools.intEingabe();System.out.println("Jetzt die y Koordinaten");	y = Tools.intEingabe();	        for(int y = 0; y < 3; y++) {                      for(int x = 0; x < 3; x++) {xyz[x][y]="A";System.out.print(xyz[x][y]);}}spielzug();}//-----------------------------------------------void verteilen(){feld1 = Tools.random(5);if(feld1==1){Buchst1="A";}}void spielfeld1(){	          	for(int y = 0; y < 5; y++)       	{for(int x = 0; x < 5; x++){	xyz[x][y] = " X ";	System.out.print(xyz[x][y]);			}System.out.println("");System.out.println("");} }}