Refactor: Implement SmartCube renderer, improve UI styling, and fix gaps
This commit is contained in:
12
test/test_rubiks_import.js
Normal file
12
test/test_rubiks_import.js
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
import { State } from 'rubiks-js/src/state/index.js';
|
||||
|
||||
console.log('State imported successfully');
|
||||
const state = new State(true);
|
||||
console.log('State instantiated');
|
||||
|
||||
state.applyTurn('R');
|
||||
console.log('Applied turn R');
|
||||
|
||||
const encoded = state.encode();
|
||||
console.log('Encoded state:', encoded);
|
||||
Reference in New Issue
Block a user