<commit_before>local Container = require 'lib/LoveGUI/core/container'
local Button = require 'lib/LoveGUI/core/button'
local Text = require 'lib/LoveGUI/core/text'

local TitleScreen = Container.new('FULL_WINDOW',{visible = false, ori = 'hor', alignment = 'center'})

TitleScreen:addElement(
    Container.new('MENU_CENTERING_CONTAINER',{width = '35%',alignment = 'center', visible = false, orientation = 'ver'}):addElement(
        Container.new('MENU_OPTIONS',{height = '70%',alignment = 'top', orientation = 'ver'})
    )
)

TitleScreen:getElement('MENU_OPTIONS'):addElements({
    Text.new('TITLE_TEXT',{textLoc = 'center',text = 'Helios 2400', height = 50}),
    Button.new('JOIN_GAME',{margins = 20, height = '8%', text = 'Join Game', onRelease = function(self)
        Global.Viewer.Systems.UIStack:pop()
        Global.Viewer.Systems.UIStack:push(Global.Viewer.game.GameWrapper)
    end}),
    Button.new('EXIT_GAME',{margins = 20, height = '8%', text = 'Exit Game', onRelease = function(self)
        love.event.quit()
    end})
})

return TitleScreen<commit_msg>changed text to match issue description<commit_after>local Container = require 'lib/LoveGUI/core/container'
local Button = require 'lib/LoveGUI/core/button'
local Text = require 'lib/LoveGUI/core/text'

local TitleScreen = Container.new('FULL_WINDOW',{visible = false, ori = 'hor', alignment = 'center'})

TitleScreen:addElement(
    Container.new('MENU_CENTERING_CONTAINER',{width = '35%',alignment = 'center', visible = false, orientation = 'ver'}):addElement(
        Container.new('MENU_OPTIONS',{height = '70%',alignment = 'top', orientation = 'ver'})
    )
)

TitleScreen:getElement('MENU_OPTIONS'):addElements({
    Text.new('TITLE_TEXT',{textLoc = 'center',text = 'Helios 2400', height = 50}),
    Button.new('JOIN_GAME',{margins = 20, height = '8%', text = 'Join a Game', onRelease = function(self)
        Global.Viewer.Systems.UIStack:pop()
        Global.Viewer.Systems.UIStack:push(Global.Viewer.game.GameWrapper)
    end}),
    Button.new('EXIT_GAME',{margins = 20, height = '8%', text = 'Exit Helios', onRelease = function(self)
        love.event.quit()
    end})
})

return TitleScreen
{'fraction_non_alphanumeric': 0.16467341306347746, 'fraction_numerical': 0.014719411223551058, 'mean_word_length': 4.862533692722372, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '7365479', 'n_tokens_mistral': 752, 'n_tokens_neox': 713, 'n_words': 135}