Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamedlouay committed Mar 7, 2021
1 parent ca2f218 commit b775719
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 3 deletions.
6 changes: 5 additions & 1 deletion .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 21 additions & 2 deletions src/main/java/Main.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@

import java.io.IOException;
import java.util.Scanner;

public class Main {
public static void main(String[] args) {
System.out.println("Hello word");





public static void main(String[] args) throws IOException {

Scanner scanner = new Scanner(System.in);
String fileName ;
System.out.println("choisissez une map parmi : map1.txt map2.txt map3.txt");
fileName = scanner.next();
GameSystem gameSystem = new GameSystem(fileName) ;
gameSystem.playGame();


}


}
File renamed without changes.

0 comments on commit b775719

Please sign in to comment.