Skip to content

codewiz-game/codewiz-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodeWiz

=================

A programming game where users write the AI for a wizard and battle each-other in an online arena.

Configuration

Environment Variables

The configuration of CodeWiz is driven through the following environment variables:

  • CODEWIZ_DATABASE_DSN:

A DSN containing the connection information for the database.

  • CODEWIZ_DATABASE_DRIVER:

The name of the driver to use for database interactions. Currently supporting "mysql" and "sqlite3",

  • CODEWIZ_LOG_LEVEL:

The lowest level that should be displayed in the log output. The options are "debug", "info", "warn", "error", and "fatal".

  • CODEWIZ_PORT:

The port on which the CodeWiz server should listen for requests.

  • CODEWIZ_SESSION_KEY:

The key to use for encrypting session information sent between the client and server.

  • CODEWIZ_SESSION_SECURE:

A flag indicating whether to allow session information to be sent over connections that are not protected by TLS/SSL. For security purposes, this should be set to "true" where possible, but can be configured to "false" for development environments where this extra security is neither available or required.

About

A programming game where users write the AI for a wizard and battle each-other in an online arena.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published