import {NgModule} from '@angular/core';
import {RouterModule, Routes} from '@angular/router';
import {TestContractComponent} from './test-contract/test-contract.component';
import {RandomGameComponent} from './random-game/random-game.component';


const routes: Routes = [
  {path: 'test-contract', component: TestContractComponent},
  {path: 'random-game-contract', component: RandomGameComponent},
];

@NgModule({
  imports: [RouterModule.forRoot(routes)],
  exports: [RouterModule]
})
export class AppRoutingModule {
}
