more scores
This commit is contained in:
parent
a486f73046
commit
10f022c849
1 changed files with 26 additions and 4 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import {Guid} from './Guid.ts';
|
||||
|
||||
export function makeApiUrl(path: string, protocol: 'http' | 'ws' = 'http') {
|
||||
return new URL(`${protocol}://${window.location.hostname}${path}`);
|
||||
return new URL(`${protocol}://${window.location.hostname}${path}`);
|
||||
}
|
||||
|
||||
export type ServerResponse<T> = {
|
||||
|
|
@ -16,6 +16,8 @@ export type Scores = {
|
|||
readonly kills: number;
|
||||
readonly deaths: number;
|
||||
readonly wallsDestroyed: number;
|
||||
readonly shotsFired: number;
|
||||
readonly overallScore: number;
|
||||
};
|
||||
|
||||
export type Player = {
|
||||
|
|
|
|||
Reference in a new issue