most basic game flow structure
All checks were successful
studiorailgun/trpg/pipeline/head This commit looks good
All checks were successful
studiorailgun/trpg/pipeline/head This commit looks good
This commit is contained in:
parent
38433108d3
commit
aaf093f85a
@ -3,10 +3,10 @@ package org.studiorailgun.interact;
|
||||
import java.util.Scanner;
|
||||
|
||||
import org.studiorailgun.Globals;
|
||||
import org.studiorailgun.ai.conversation.ConvAI;
|
||||
import org.studiorailgun.ai.conversation.command.ConvCommandParser;
|
||||
import org.studiorailgun.ai.conversation.tracking.Quote;
|
||||
import org.studiorailgun.sim.character.gen.PlayerCharSourcer;
|
||||
import org.studiorailgun.sim.eval.GameCommandParser;
|
||||
import org.studiorailgun.sim.eval.Simulator;
|
||||
import org.studiorailgun.sim.space.gen.WorldGenerator;
|
||||
|
||||
/**
|
||||
@ -40,8 +40,8 @@ public class GameLoop {
|
||||
if(ConvCommandParser.parseCommands(prompt)){
|
||||
continue;
|
||||
}
|
||||
Quote response = ConvAI.simFrame(prompt);
|
||||
System.out.println(response.getRaw());
|
||||
GameCommandParser.parse(prompt);
|
||||
Simulator.simulate();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -0,0 +1,16 @@
|
||||
package org.studiorailgun.sim.eval;
|
||||
|
||||
/**
|
||||
* Parses game commands from the user
|
||||
*/
|
||||
public class GameCommandParser {
|
||||
|
||||
/**
|
||||
* Parses the player's input
|
||||
* @param input The player's input
|
||||
*/
|
||||
public static void parse(String input){
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
17
src/main/java/org/studiorailgun/sim/eval/Simulator.java
Normal file
17
src/main/java/org/studiorailgun/sim/eval/Simulator.java
Normal file
@ -0,0 +1,17 @@
|
||||
package org.studiorailgun.sim.eval;
|
||||
|
||||
/**
|
||||
* Simulates the game world
|
||||
*/
|
||||
public class Simulator {
|
||||
|
||||
/**
|
||||
* Simulates a single frame of the game world
|
||||
*/
|
||||
public static void simulate(){
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user