<commit_before>/**
 * <NAME>
 * Bedio, <NAME>
 * Malaki, <NAME>
 * Paler, <NAME>
 * <p>
 * BSCS - II | UP - Cebu
 * CMSC22 - OOP
 * Final Project
 * <p>
 * NOTE:
 * - For now, prioritize work game MVP
 * - Put code documentation for readability
 * - Let others know what you're working on
 */


package game;

import org.newdawn.slick.AppGameContainer;
import org.newdawn.slick.GameContainer;
import org.newdawn.slick.SlickException;
import org.newdawn.slick.state.StateBasedGame;


public class BeatBitBeatMain extends StateBasedGame {

    private static final String gameName = "Beat Bit Beat";

    // Game state IDs
    private static final int mainMenu = 0;
    private static final int characterSelection = 1;
    private static final int versusPreview = 2;
    private static final int gameProper = 3;
    private static final int gameOver = 4;
    private static final int options = 5;
    private static final int credits = 6;

    // Display Resolution
    private static int displayWidth = 1280;
    private static int displayHeight = 800;

    // Constructor
    public BeatBitBeatMain(String gameName) {
        super(gameName);
    }


    public static void main(String[] args) throws SlickException {
        AppGameContainer app = new AppGameContainer(new BeatBitBeatMain(gameName));
//        displayWidth = app.getScreenWidth();
//        displayHeight = app.getScreenHeight();

        app.setTitle("BeatBitBeat");                // Title for top bar
        app.setDisplayMode(displayWidth, displayHeight, true);     // fullscreen false for now
        app.setVSync(true);                         // matches monitor refresh rate. or use app.setTargetFrameRate(60);
        app.setMinimumLogicUpdateInterval(15);      // minimum delta of 15 ms
        app.setMaximumLogicUpdateInterval(15);      // maximum delta of 15 ms
//        app.setAlwaysRender(true);                  // ???

        app.start();
    }

    public void initStatesList(GameContainer gc) throws SlickException {

        // Instantiate each state and add to the list of states
        this.addState(new MainMenuState());<commit_msg>changed fullscreen to false<commit_after>/**
 * <NAME>
 * Bedio, <NAME>
 * Malaki, <NAME>
 * Paler, <NAME>
 * <p>
 * BSCS - II | UP - Cebu
 * CMSC22 - OOP
 * Final Project
 * <p>
 * NOTE:
 * - For now, prioritize work game MVP
 * - Put code documentation for readability
 * - Let others know what you're working on
 */


package game;

import org.newdawn.slick.AppGameContainer;
import org.newdawn.slick.GameContainer;
import org.newdawn.slick.SlickException;
import org.newdawn.slick.state.StateBasedGame;


public class BeatBitBeatMain extends StateBasedGame {

    private static final String gameName = "Beat Bit Beat";

    // Game state IDs
    private static final int mainMenu = 0;
    private static final int characterSelection = 1;
    private static final int versusPreview = 2;
    private static final int gameProper = 3;
    private static final int gameOver = 4;
    private static final int options = 5;
    private static final int credits = 6;

    // Display Resolution
    private static int displayWidth = 1280;
    private static int displayHeight = 800;

    // Constructor
    public BeatBitBeatMain(String gameName) {
        super(gameName);
    }


    public static void main(String[] args) throws SlickException {
        AppGameContainer app = new AppGameContainer(new BeatBitBeatMain(gameName));
//        displayWidth = app.getScreenWidth();
//        displayHeight = app.getScreenHeight();

        app.setTitle("BeatBitBeat");                // Title for top bar
        app.setDisplayMode(displayWidth, displayHeight, false);     // fullscreen false for now
        app.setVSync(true);                         // matches monitor refresh rate. or use app.setTargetFrameRate(60);
        app.setMinimumLogicUpdateInterval(15);      // minimum delta of 15 ms
        app.setMaximumLogicUpdateInterval(15);      // maximum delta of 15 ms
//        app.setAlwaysRender(true);                  // ???

        app.start();
    }

    public void initStatesList(GameContainer gc) throws SlickException {

        // Instantiate each state and add to the list of states
        this.addState(new MainMenuState());
{'fraction_non_alphanumeric': 0.08952425591750644, 'fraction_numerical': 0.012186547925943286, 'mean_word_length': 2.704861111111111, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5805765', 'n_tokens_mistral': 1259, 'n_tokens_neox': 1158, 'n_words': 382}