Meu programa não esta rodando > problemas com Graphics g e render

Olá,ou iniciante em java e estava tentando fazer um jogo simples no Eclipse,porém ele não
consegue rodar por problemas no Graphics g.Gostaria que alguém pudesse me explicar o erro.O eclipse indica na parte do Graphics g tem uma duplicação da variavel local,mas eu nao sei o que isso significa

package jogotop.main;

import java.awt.Canvas;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import java.awt.image.BufferStrategy;
import java.awt.image.BufferedImage;

import javax.swing.JFrame;

public class Game extends Canvas implements Runnable,KeyListener {

	

	
	private static final long serialVersionUID = 1L;
	public static int WIDTH = 240;
	public static int HEIGHT = 120;
	public static int SCALE = 4;
	
	
	public BufferedImage layer = new BufferedImage(WIDTH,HEIGHT,BufferedImage.TYPE_INT_RGB);
	
	
	public Game() {
		this.setPreferredSize(new Dimension(WIDTH,HEIGHT));
		this.addKeyListener(this);
		
		requestFocus();
		
	}
			
	
	public static void main(String[] args) {
		
		Game game = new Game();
		JFrame frame = new JFrame();
		frame.setResizable(false);
		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		
		frame.add(game);
		frame.pack();
		frame.setLocationRelativeTo(null);
		frame.setVisible(true);
		new Thread(game).start();
	}
	public void tick() {
		
	}
	public void render(Graphics g) {
		BufferStrategy bs = this.getBufferStrategy();
		if(bs == null) {
			this.createBufferStrategy(3);
			return;
		}
		
		Graphics g = layer.getGraphics();
		g.setColor(Color.BLACK);
		g.fillRect(0, 0, WIDTH, HEIGHT);
		
		
		g = bs.getDrawGraphics();
		
		bs.show();
		
	}

	
	public void run() {
		while(true) {
			tick();
			render();
			try {
				Thread.sleep(1000/60);
			} catch (InterruptedException e) {
				e.printStackTrace();
			}
		}
		
		
	}


	public void render() {
		// TODO Auto-generated method stub
		
	}

Você declarou uma variável local com o mesmo nome do parâmetro, não pode.

Verdade,obrigado pela ajuda