Skip to content

heyallnorahere/code-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

code-playground

Graphics framework written for .NET 7.

Building

Building the project requires the following:

Additionally, depending on your system, you may need to build and install the following projects to avoid runtime crashes:

To build the project, simply run:

# making sure we have all of the submodules up to date
# where $ROOT_DIR is the root directory of the repository
cd $ROOT_DIR
git submodule update --init --recursive

# building libchess
# where $GENERATOR is the build system for your machine
# this is required because the chess AI project relies on my native library
# todo(nora): include prebuilt binaries
cd $ROOT_DIR/Libraries/chess
cmake . -B build -G "$GENERATOR" -DCMAKE_BUILD_TYPE=$CONFIG # required for single-config generators
cmake --build build -j 8 --config $CONFIG # required for multi-config generators

# and $CONFIG is the application configuration (Debug or Release)
cd $ROOT_DIR
dotnet build -c $CONFIG Solutions/code-playground.sln

Running

# after building
# where $ROOT_DIR is the root directory of the repository
# $APPLICATION is the name of the application (e.g. VulkanTest)
# and $CONFIG is the application configuration
cd $ROOT_DIR/Playground/$APPLICATION/bin/$CONFIG/net7.0

# the framework loads the application dynamically
dotnet CodePlayground.Runtime.dll $APPLICATION.dll ...

# alternatively, if the application implements its own entrypoint
dotnet $APPLICATION.dll ...

"Playground" applications

  • VulkanTest: Vulkan graphics test application
  • Ragdoll: WIP ragdoll simulation of skinned meshes. Not finished
  • MachineLearning: Neural network running in a compute pipeline. Recognizes handwritten digits
  • ChessAI: WIP chess neural network - does not work lol

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages