Skip to content

Commit

Permalink
🚚 organize files
Browse files Browse the repository at this point in the history
  • Loading branch information
ctcpip committed Jun 1, 2024
1 parent 73805b4 commit f79aec6
Show file tree
Hide file tree
Showing 14 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
"name": "netrisse",
"description": "a network version of tetris for the console/terminal",
"version": "2.0.0",
"main": "netrisse.js",
"main": "./src/netrisse.js",
"bin": {
"netrisse": "./netrisse.js"
"netrisse": "./src/netrisse.js"
},
"dependencies": {
"mersenne-twister": "^1.1.0",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion screen.js → src/screen.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const termkit = require('terminal-kit');
const packageJSON = require('./package.json');
const packageJSON = require('../package.json');

module.exports = class Screen {
constructor(colorEnabled, interval, seed) {
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion test/algorithm-test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const { easy, frustrationFree, random, tooEasy } = require('../algorithms');
const { easy, frustrationFree, random, tooEasy } = require('../src/algorithms');
const MersenneTwister = require('mersenne-twister');

const seed = new MersenneTwister().random_int();
Expand Down
2 changes: 1 addition & 1 deletion test/rando-test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const MersenneTwister = require('mersenne-twister');
const Rando = require('../rando');
const Rando = require('../src/rando');
const assert = require('node:assert');

const seed = new MersenneTwister().random_int();
Expand Down

0 comments on commit f79aec6

Please sign in to comment.