Skip to content

Commit

Permalink
add tower game
Browse files Browse the repository at this point in the history
  • Loading branch information
shubhagarwal1 committed Nov 8, 2024
1 parent 95b2c81 commit f452a22
Show file tree
Hide file tree
Showing 6 changed files with 468 additions and 5 deletions.
5 changes: 5 additions & 0 deletions src/app/app.routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import { ProfileDashboardPageComponent } from './components/profile/profile.comp
import { VisualStackQueueComponent } from './components/visual-stack-queue/visual-stack-queue.component';
import { MazeRunnerVisualizerComponent } from './components/maze-runner-visualizer/maze-runner-visualizer.component';
import { TreasureHuntVisualizerComponent } from './components/treasure-hunt-visualizer/treasure-hunt-visualizer.component';
import { TowerTraversalVisualizerComponent } from './components/tower-traverser-visualizer/tower-traverser-visualizer.component';

export const routes: Routes = [
{
Expand Down Expand Up @@ -121,6 +122,10 @@ export const routes: Routes = [
path: 'tresure',
component: TreasureHuntVisualizerComponent,
},
{
path: 'tower',
component: TowerTraversalVisualizerComponent,
},
// {
// path: 'algo-compare',
// component: AlgorithmComparisonComponent,
Expand Down
Empty file.
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';

import { TowerTraverserVisualizerComponent } from './tower-traverser-visualizer.component';

describe('TowerTraverserVisualizerComponent', () => {
let component: TowerTraverserVisualizerComponent;
let fixture: ComponentFixture<TowerTraverserVisualizerComponent>;

beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [TowerTraverserVisualizerComponent]
})
.compileComponents();

fixture = TestBed.createComponent(TowerTraverserVisualizerComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});

it('should create', () => {
expect(component).toBeTruthy();
});
});
Loading

0 comments on commit f452a22

Please sign in to comment.