No description
  • JavaScript 97.6%
  • Gherkin 2.4%
Find a file
Thomas Schissler 7b4a8359dc Update dependencies to resolve all npm audit findings
- applicationinsights 3.7 -> 3.17, mocha 11 -> 12 (moved to devDependencies),
  @cucumber/cucumber 12 -> 13, eslint/@eslint/js 9 -> 10, globals 16 -> 17
- Remove unused eslint-plugin-jest and @types/jest (tests use mocha; the
  plugin was not referenced in eslint.config.mjs and blocked eslint 10)
- Replace unmaintained cucumber-junit and mocha-junit-reporter (incompatible
  with mocha 12) with the built-in cucumber junit and mocha xunit reporters
- Override glob and minimatch to patched versions

npm audit: 58 -> 0 vulnerabilities. Supersedes Dependabot PRs #50, #51, #53-#57.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-11-02 14:22:46 +01:00
.forgejo/workflows Add Forgejo CI/CD 2025-10-14 15:31:19 +02:00
.vscode Added telemetric collection with Application Insights 2022-02-06 19:19:43 +01:00
Battleship_Tests Initial version 2020-03-06 12:42:42 +01:00
GameController Added telemetric collection with Application Insights 2022-02-06 19:19:43 +01:00
GameController_ATDD Fixed issue with new version of cucumber 2020-10-07 21:52:52 +02:00
GameController_Tests Add Forgejo CI/CD 2025-10-14 15:31:19 +02:00
TelemetryClient Add Forgejo CI/CD 2025-10-14 15:31:19 +02:00
.gitignore Added cucumber-junit for build pipeline 2020-03-06 16:15:40 +01:00
.gitlab-ci.yml Update dependencies to resolve all npm audit findings 2026-11-02 14:22:46 +01:00
ai.js Add Forgejo CI/CD 2025-10-14 15:31:19 +02:00
battleship.js Add Forgejo CI/CD 2025-10-14 15:31:19 +02:00
buildpipeline.yml Update dependencies to resolve all npm audit findings 2026-11-02 14:22:46 +01:00
eslint.config.mjs Add Forgejo CI/CD 2025-10-14 15:31:19 +02:00
index.js Added telemetry for starting app 2022-02-04 20:31:09 +01:00
package-lock.json Update dependencies to resolve all npm audit findings 2026-11-02 14:22:46 +01:00
package.json Update dependencies to resolve all npm audit findings 2026-11-02 14:22:46 +01:00
README.md Updated packages, added start command 2025-07-22 09:45:12 +02:00

Build status

Battleship NodeJs

A simple game of Battleship, written in NodeJs. The purpose of this repository is to serve as an entry point into coding exercises and it was especially created for scrum.orgs Applying Professional Scrum for Software Development course (www.scrum.org/apssd). The code in this repository is unfinished by design.

Getting started

To edit and debug this project, you can use Visual Studio Code or any other suitable editor. You might want to install these extensions to better support this project in VSCode:

Run locally

Install packages

npm install

Run battleship

npm start

Or alternatively:

node index.js

Execute tests

Execute all tests

npm test

Execute Mocha tests only

mocha './**/*Tests.js'

Execute Cucumber-js tests only

./node_modules/.bin/cucumber-js .\GameController_ATDD

Docker

To run and test the project in a container, use these steps:

docker run -it -v ${PWD}:/battleship -w /battleship node bash
npm install
npm test
npm start