Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ace4896/codewars
Solutions to various Codewars challenges.
https://github.com/ace4896/codewars
Last synced: 7 days ago
JSON representation
Solutions to various Codewars challenges.
- Host: GitHub
- URL: https://github.com/ace4896/codewars
- Owner: Ace4896
- Created: 2022-01-31T13:02:04.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-07-23T22:29:20.000Z (4 months ago)
- Last Synced: 2024-07-24T01:36:41.455Z (4 months ago)
- Language: C#
- Size: 280 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Codewars Solutions
This repository contains my solutions to various [Codewars](https://www.codewars.com) challenges.
## Requirements
- C\#: .NET 6.0 or above
- As of 2022-06-22, Codewars uses C# 10.0.
- JavaScript/TypeScript: NodeJS v14.0 or above
- As of 2022-02-26, Codewars uses NodeJS v14.0 and TypeScript 3.8.
- Python: 3.8 or above
- As of 2022-02-03, Codewars uses Python 3.8.
- Rust: 1.58 or above
- As of 2022-02-24, Codewars uses Rust 1.58.
- Visual Basic: .NET 6.0 or above
- As of 2023-05-22, Codewars uses VB.NET 15.5.## Usage
This repository needs to be cloned with submodules:
```bash
git clone --recurse-submodules [email protected]:Ace4896/codewars.git
```For C#, the `Codewars.sln` solution can just be used as normal (preferably with Visual Studio or Rider).
For TypeScript, first run `npm install` in the [`TypeScript`](./TypeScript/) directory, then use `npm test` to run unit tests.
For Python, some additional setup is required:
- First, setup a virtual environment and activate it:
```bash
python -m venv .venvsource .venv/bin/activate # Bash
.venv/Scripts/Activate # Powershell
```
- Then, install the packages from `requirements.txt`:
```bash
pip install -r ./Python/requirements.txt
```
**NOTE**: The build artifacts can be safely removed after installation.For Rust, the `codewars` crate in the `Rust` directory can be used as normal.
For Visual Basic the `Codewars.VB.sln` can just be used as normal.