CodeCharacter 2022 VSCode Extension
An extension for VSCode that allows players to play CodeCharacter from the comfort of their IDE.
Prerequisites:
Windows:
- Install WSL 2 (link).
- Install Ubuntu for WSL 2 from here.
- Open VSCode and press Ctrl + Shift + P to open the command panel and enter
>remote-wsl.newWindowForDistro and select Ubuntu in the dropdown.
- Install this extension under WSL.
- Click on the extension icon in the side panel to activate the extension.
- Open the terminal in the window and follow the instructions for Ubuntu below to set-up:
Ubuntu:
Depending on the language you wish to use to write code in, run these commands in the terminal.
C++: gcc/g++ (version 11 or higher):
sudo apt-get update -y \
&& sudo apt-get upgrade -y \
&& sudo apt-get install build-essential software-properties-common -y \
&& sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y \
&& sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1E9377A2BA9EF27F \
&& sudo apt-get update -y && sudo apt-get install gcc-11 g++-11 -y
Python: Python 3.9 or higher:
sudo apt-get update -y \
&& sudo apt-get upgrade -y \
&& sudo apt-get install python3.9
Java: Java 17:
sudo apt-get update -y \
&& sudo apt-get upgrade -y \
&& sudo apt-get install openjdk-17-jdk
Mac:
- C++: gcc/g++ (version 11 or higher):
brew install gcc
- Python: Python 3.9 or higher:
brew install python3
- Java: Java 17:
brew install openjdk
Usage
| |